package com.myhouse.biz;

import java.util.List;

import com.myhouse.entity.User;

public interface UserService {

	User checkLogin(String username,String password);
	User checkUsername(String username);
	void addUser(User user);
	List<User> getAllOrByTitle(String title);
	void updateUser (User user); 
	User getUserById(int id);
}
